import style from "./submitBtn.module.scss";

// const props = {
//     content:"",
//     click: function
// }

const header = (props)=>{
 return (
   <button className={style["submit-btn"]} 
        onClick={()=>{
          if(props.click) props.click();
        }}>
        {props.content?props.content:"提交"}
    </button>
 )
}

export default header